package com.sangmo.fts.basic.repo;

import com.sangmo.boot.framework.plugin.dataview.spi.jpa.IJpaDataViewRepo;
import com.sangmo.fts.basic.model.Company;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyRepo extends IJpaDataViewRepo<Company> {

    List<Company> findByTypeAndDeleted(String type, Long deleted);
}
